home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / windows / r3iffmod.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.4 KB  |  62 lines

  1.  
  2. // JavaScript wrapper for r3iffmod.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IFFMODEL_H = 1;
  7. include("real/code/r3fifomo.js")
  8.  
  9.  
  10. var R3CLID_IFFMODEL = 1679;
  11.  
  12.  
  13.  
  14.  
  15.  
  16. R3IFFMODM_SETSECTION = 1679000;
  17.  
  18. function mR3IFFMODM_SETSECTION() {
  19.   DoA(this.r3obj, 1679000, 0, R3TID_INTEGER, 0);
  20. }
  21.  
  22.  
  23.  
  24.  
  25. R3IFFMODA_Sections = 1679500;
  26. function SetR3IFFMODA_Sections(value) {
  27.   R3Set(this.r3obj, R3IFFMODA_Sections, value, R3TID_INTEGER, 0); 
  28. }
  29.  
  30. function GetR3IFFMODA_Sections() {
  31.   return R3Get(this.r3obj, R3IFFMODA_Sections, R3TID_INTEGER, 0); 
  32. }
  33.  
  34. R3IFFMODA_Thumbnail = 1679502;
  35. function GetR3IFFMODA_Thumbnail() {
  36.   return R3ToJS(R3Get(this.r3obj, R3IFFMODA_Thumbnail, R3TID_OBJECT, 0)); 
  37. }
  38.  
  39. R3IFFMODA_AvailableSections = 1679503;
  40. function GetR3IFFMODA_AvailableSections() {
  41.   return R3Get(this.r3obj, R3IFFMODA_AvailableSections, R3TID_INTEGER, 0); 
  42. }
  43.  
  44.  
  45.  
  46. function r3Iffmodel () { 
  47.    this.base = r3God;
  48.    if(arguments.length) {
  49.       this.base(R3CLID_IFFMODEL, arguments);
  50.    }
  51.    // Methods
  52.    this.SETSECTION=mR3IFFMODM_SETSECTION;
  53.  
  54.    // Attributes
  55.    this.GetSections=GetR3IFFMODA_Sections;
  56.    this.SetSections=SetR3IFFMODA_Sections;
  57.    this.GetThumbnail=GetR3IFFMODA_Thumbnail;
  58.    this.GetAvailableSections=GetR3IFFMODA_AvailableSections;
  59. }
  60.  
  61. r3Iffmodel.prototype=new r3Fileformatmodel;
  62. // r3iffmod.h_H